package cn.com.yto56.coresystem.logic.msg.soa.dao;

import cn.com.yto56.coresystem.common.msg.util.db.IPage;
import cn.com.yto56.coresystem.common.msg.util.db.QueryPage;
import cn.com.yto56.coresystem.logic.msg.soa.domain.MsgTempletBean;

/**
 * Created by wangrui on 2017/2/15.
 */
public interface IMsgTempletDao {

    //add delete update search
    public IPage<MsgTempletBean> search(MsgTempletBean msgTempletBean, QueryPage queryPage);

    public boolean searchForUpdate(MsgTempletBean msgTempletBean);

    public int delete(MsgTempletBean msgTempletBean);

    public int update(MsgTempletBean set, MsgTempletBean where);

    public int add(MsgTempletBean msgTempletBean);
}
